// Profile
interface IMemberForm
  extends Omit<IMember, "shortName" | "children"> {
}
interface ILocationCode {
  contact: string[];
  location: string[];
}
interface IMember {
  avatar: string;
  department: string;
  userId: string;
  userName: string;
  shortName: string;
  email: string;
  team: string;
  password: string;
  tel: string;
  language: string;
  head: string;
  status: string;
  userGroup: string[];
  colour: string;
  right: string[];
  locationCode: ILocationCode;
  children?: IMember[];
}
// User
interface ITeam {
  id: string;
  team: string;
  department: string;
  peopleNum: number;
  memberList: IMember[];
}

export { ITeam, IMember, IMemberForm };
